<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<link rel="stylesheet" href="bootstrap-3.0.3/css/bootstrap.min.css">
<script src="js/jquery-2.1.1.min.js"></script>
<script src="bootstrap-3.0.3/js/bootstrap.min.js"></script>
<style type="text/css">
	td{
		height:35px;
	}
</style>
</head>
<body>
	<div style="width:1170px;margin:0px auto;height:155px;">
		<div><img alt="" src="css/images/logo.png"> </div>
		<nav class="navbar navbar-default" role="navigation">
			<div class="container-fluid">
				<div class="navbar-header" style="margin-left:20px;">
					<a class="navbar-brand" href="#">首页</a>
				</div>
			</div>
			<div class="container-fluid"> 
				<form class="navbar-form navbar-left" role="search">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="主题">
					</div>
					<button type="submit" class="btn btn-default">搜索</button>
				</form>
			</div>
			<div class="container-fluid" style="margin-right:20px;">
			    <ul class="nav navbar-nav navbar-right">
			      <li><a href="user_register.jsp"><span class="glyphicon glyphicon-user"></span> 注册</a></li>
			      <li><a href="user_login.jsp"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li>
			    </ul>
			 </div>
		</nav>
	</div>
	<div style="width:1170px;height:30px;margin:0px auto;background-color: #F5F5F5;text-indent:1.5em;color: #0C91E0;line-height: 32px;">
		首页 / 注册
	</div>
	<div style="width:1170px;height:220px;margin:0px auto;margin-top: 20px;">
		<form action="doLogin" method="post" style="margin-top:30px;width:400px;">
			<table style="margin-left:-34px;">
				<tr>
					<td style="text-align: right;font-weight: bold;padding-right:25px;">用户名</td>
					<td><input type="text" name="user.userName" id=""/></td>
				</tr>
				<tr>
					<td style="text-align: right;font-weight: bold;padding-right:25px;">密码</td>
					<td><input type="password" name="user.password" id=""/></td>
				</tr>
				<tr>
					<td><input style="margin-left:100px;" type="submit" value="登录" id=""/></td>
					<td><input style="margin-left:5px;" type="submit" value="注册" id=""/></td>
				</tr>
				<h4 style="color:red;">${message}</h4>
			</table>
		</form>
	</div>
	<div id="footer" style="margin-top:20px;width:1170px;height:70px; margin:0px auto;background-color: #F5F5F5;text-align: center;border:1px solid #EBEBEB;">
		<p>手机论坛 xda.cn</p>
		<p>Designed Sam Chen</p>
	</div>
</body>
</html>